package com.sansan.qiangji.service.inter.warehouse;

import com.sansan.qiangji.VO.board.CountPullBoxVO;
import com.sansan.qiangji.entity.warehouse.PullOrderBoxDetail;
import com.sansan.qiangji.entity.warehouse.example.PullOrderBoxDetailExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PullOrderBoxDetailService {

    List<PullOrderBoxDetail> findByBoxDetailCode(String boxDetailCode);

    List<PullOrderBoxDetail> findByDetailCodeAndStatus(String pullOrderDetailCode, String boxDetailStatus);

    long countByExample(PullOrderBoxDetailExample example);

    int deleteByExample(PullOrderBoxDetailExample example);

    int deleteByPrimaryKey(Integer boxDetailId);

    int insert(PullOrderBoxDetail record);

    int insertSelective(PullOrderBoxDetail record);

    List<PullOrderBoxDetail> selectByExample(PullOrderBoxDetailExample example);

    PullOrderBoxDetail selectByPrimaryKey(Integer boxDetailId);

    int updateByExampleSelective(@Param("record") PullOrderBoxDetail record, @Param("example") PullOrderBoxDetailExample example);

    int updateByExample(@Param("record") PullOrderBoxDetail record, @Param("example") PullOrderBoxDetailExample example);

    int updateByPrimaryKeySelective(PullOrderBoxDetail record);

    int updateByPrimaryKey(PullOrderBoxDetail record);


    List<CountPullBoxVO> countPullBox();
}
